package category

import (
	"gitee.com/zoneaurora/shop/internal/common"
	"gitee.com/zoneaurora/shop/internal/logic/admin/base"
	"gitee.com/zoneaurora/shop/internal/model"
)

type CategoryLogic struct {
	base.BaseLogic[model.Category]
}

func NewCategoryLogic() *CategoryLogic{
	return &CategoryLogic{
		BaseLogic: base.BaseLogic[model.Category]{
			DB: common.DB(),
		},
	}
}
